package itsm.isperp.framework.security.domain;

import itsm.isperp.framework.domain.BaseBean;
import itsm.isperp.framework.domain.IResource;

import org.apache.commons.lang.NotImplementedException;

/**
 * 业务数据资源
 */
public class BusinessDataResource extends BaseBean implements IResource {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String domain;
	private String fieldName;
	private String conditionExpression;
	private String value;
	private String desc;

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getConditionExpression() {
		return conditionExpression;
	}

	public void setConditionExpression(String conditionExpression) {
		this.conditionExpression = conditionExpression;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Override
	public String getAuthority() {
		// TODO
		throw new NotImplementedException("未实现此方法！");
	}
}
